package org.colafries.admin.entity.vo;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import org.colafries.common.enums.ColumnTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author colafries
 * @version v1.0
 * @ClassName ColumnRspVO
 * @Description
 * @date Created in 2024/4/3
 **/
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class ColumnRspVO {
    private String field;
    private String alias;
    private String dbType;
    private String javaType;
    private String comment;
    private String fieldHash;
    @ApiModelProperty(name = "字段类型", dataType = "String", example = "dimension | measure")
    private ColumnTypeEnum type;
    @ApiModelProperty(name = "自定义表Hash值")
    private String tableHash;
    @ApiModelProperty(name = "默认聚合")
    private String defaultAggregator;
}